<? global $lg, $FullUrl, $notice; ?>

<div class="form-main">
  <div class="form-header">&nbsp;</div>
  <div class="form-content">
    <div style="padding:0 25px; display:block; overflow:hidden;">
      <div class="title-form"><span>Lịch sử giao dịch</span></div>
      <?
    	if($arr)
		{
	?>
      <div style="margin:30px; color:#FFF;">
        <table border="1" align="center" style="text-align:center;border:solid 1px;">
          <tr>
            <td style="width:50px;">STT</td>
            <td>Giao Dịch</td>
            <td>Số KNB</td>
            <td style="width:250px;">Ngày Giao Dịch</td>
          </tr>
          <?
        	for($i = 0; $i < count($arr); $i++)
			{					
		?>
          <tr>
            <td><?=($i+1)?></td>
            <td><?=$arr[$i]['userName']?></td>
            <td><?=$arr[$i]['golden']?></td>
            <td><?=$arr[$i]['chongzhidatatime']?></td>
          </tr>
          <?
			}
		?>
        </table>
      </div>
      <?
		}
	?>
    </div>
  </div>
  <div class="form-bottom">&nbsp;</div>
</div>
<?php Template::UserControlTPL('Menu-GD'); ?>
